package com.sheyu.mall.product.dao.brand;

import com.sheyu.mall.product.entity.brand.BrandEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌
 *
 * @author sheyu
 * @email sheyu@XXX.com
 * @date 2020-07-27 12:44:31
 */
@Mapper
public interface BrandDao extends BaseMapper<BrandEntity> {

    List<BrandEntity> selectBatchIdsBySQL(List<Long> brandIds);
    BrandEntity selectIdBySQL(@Param("brandId") Long brandId);

    void removeByIdsBySQL(@Param("brandIds") List<Long> brandIds);
}
